﻿namespace MicroCloud.Utils
{
    /// <summary>
    /// 数据库字段值生成方式
    /// </summary>
    [Description("值生成方式")]
    public enum ValueGenerateMode
    {
        /// <summary>
        /// 手动设定
        /// </summary>
        [Description("手动设定")]
        Manual = 1,

        /// <summary>
        /// 自动增长
        /// </summary>
        [Description("自动增长")]
        AutoIncrease = 2,

        /// <summary>
        /// 日期时间增长
        /// (格式符：yyyyMMddHHmmssfff)
        /// </summary>
        [Description("日期时间增长")]
        DateTimeIncrease = 3,

        /// <summary>
        /// 雪花算法
        /// </summary>
        [Description("雪花算法")]
        Snowflake = 4,

    }
}
